<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://www.kevin.com/mytag" prefix="my" %>
<%@include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>显示文章列表</title>
	<script type="text/javascript" src="${ctx}/script/page.js"></script>
</head>

<body>
<a href="#">文章--show</a>
<div>
	<ul>
    	<c:forEach var="ai" items="${qr.list}">
        	<li><a href="showArticleInfo.shtml?id=${ai.id}"><c:out value="${ai.title}" /></a>　　发布者：${ai.addUser.name}　　(<fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${ai.addDate}" />)</li>
        </c:forEach>
    </ul>
    <script>
		var pg = new showPages('pg');
		pg.pageCount = ${qr.pager.pageCount};
		pg.argName = 'p';
		pg.printHtml();  
	</script>
</div>
</body>
</html>